function segmentAndJoin( str, delimiter ) {

    if ( !str ) {
        return '';
    }

    var list = str.split( '' );

    return list.join( delimiter );
}

// exports.segment = segment;
exports.segmentAndJoin = segmentAndJoin;
